github.com/gotd/td/internal/crypto.Cipher.encryptSide (field)
7 uses
github.com/gotd/td/internal/crypto (current package)
cipher.go#L8: encryptSide Side
cipher.go#L18: return Cipher{rand: rand, encryptSide: Client}
cipher.go#L23: return Cipher{rand: rand, encryptSide: Server}
cipher_decrypt.go#L32: side := c.encryptSide.DecryptSide()
cipher_decrypt.go#L74: key, iv := Keys(k.Value, encrypted.MsgKey, c.encryptSide.DecryptSide())
cipher_encrypt.go#L22: messageKey := MessageKey(k.Value, plaintext.Buf, c.encryptSide)
cipher_encrypt.go#L23: key, iv := Keys(k.Value, messageKey, c.encryptSide)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |